<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<%@ include file="/commons/include/head-meta-report.inc.jsp"%>	
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				background="<s:url value="/images/new/gxzl_index_2.gif"/>">
				<tr>
					<td width="20" height="32">&nbsp;</td>
					<td width="20"><img src="<s:url value="/images/new/dq_dot.gif"/>" width="15" height="12" /></td>
					<td>当前位置：按需求小类型统计报表</td>
					<td width="60"></td>
					<td width="200"></td>
					<td width="100"></td>
					<td width="100"></td>
				</tr>
			</table>
			</td>
		</tr>
  <tr> 
    <td background="" class="leftbg">
		<table width="98%" height="400" border="0" cellspacing="0" cellpadding="0"
							align="center" bgcolor="#FFFFFF">
        <tr>

          <td valign="top">
					<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" >
						<br/>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td  class="tdborderleftright">
							<form action="flowReqReport_sumBsReqReport.action" method="post" name="reportForm">	
							<TABLE width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class=tablecolor2>
			                  <tr> 
			                     <td> 
			                      <div align="center">所属流程</div></td>
			                    <td align="center">
			                      	<s:select name="flowReqReportForm.processId" list="processList" listKey="id" listValue="name" theme="css_xhtml" />
			                    </td>
								<TD align="left" width="65%">
			             			<input type="button" name="searchBtn" value="查 询" onclick="subNoValidateForm(document.forms[0],'flowReqReport_sumBsReqReport.action');">
									<input type="button" name="excelBtn" value="导出Excel" onClick="subNoValidateForm(document.forms[0],'flowReqReport_outSumBsReq.action');">
									<input type="hidden" name="type" value="type">
								</TD>
								</TR>
							</TABLE>
			               
							</form>
							
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2 >
								<tr>
									<td bgcolor="9AC2EB" width="8%">
									<div align="center"><font color="#FFFFFF">节点名称</font></div>
									</td>
									
									<c:forEach var="type" items="${types}">
										<td bgcolor="9AC2EB">
											<div align="center"><font color="#FFFFFF">${type}</font></div>
										</td>
									</c:forEach>
									<td bgcolor="9AC2EB">
										<div align="center"><font color="#FFFFFF">其他</font></div>
									</td>
									<td bgcolor="9AC2EB">
										<div align="center"><font color="#FFFFFF">合计</font></div>
									</td>								
								</tr>
								<c:if test="${not empty sumList}">
								<tr>
									<td><div style="text-align: center;font-weight: bold;color: red">任务总数</div></td>
								<c:forEach var="total" items="${totalList}">
									<td ><div align="center">${total}</div></td>									
								</c:forEach>
									
								</tr>
								</c:if>
								<c:if test="${not empty overList}">
								<tr>
									<td>
										<div style="text-align: center;font-weight: bold;color: red">已完成</div>
									</td>
									
									<c:forEach var="over" items="${overList}">
										<c:forEach var="o" items="${over}">
											<td>
												<div align="center">${o}</div>
											</td>
										</c:forEach>
									</c:forEach>
								</tr>
								</c:if>
								<c:forEach var="sum" items="${sumList}">
									<tr>
										<c:forEach var="s" items="${sum}">
											<td>
												<div align="center">${s}</div>
											</td>
										</c:forEach>
									</tr>
								</c:forEach>
								
							</table>
							<div style="text-align: center">${pageNaviStr }</div>
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>	
	</td>
	</tr>
</table>					 
</body>
</html>
